package com.oauth.google.server.beans;

import com.oauth.common.server.beans.OAuthRequestToken;

public class GoogleRequestToken extends OAuthRequestToken {

	private String mAuthorizationUrl;

	public GoogleRequestToken(String pToken, String pTokenSecret, String pAuthorizationUrl) {
		super(pToken, pTokenSecret);
		mAuthorizationUrl = pAuthorizationUrl;
	}

	/**
	 * @return the authorizationUrl
	 */
	public String getAuthorizationUrl() {
		return mAuthorizationUrl;
	}

	/**
	 * @param pAuthorizationUrl
	 *            the authorizationUrl to set
	 */
	public void setAuthorizationUrl(String pAuthorizationUrl) {
		mAuthorizationUrl = pAuthorizationUrl;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("GoogleRequestToken [mAuthorizationUrl=");
		builder.append(mAuthorizationUrl);
		builder.append("]");
		return builder.toString();
	}

}